3.1.21 \(\int \frac {1}{(c \cot (a+b x))^{2/3}} \, dx\) [21]

3.1.21.1 Optimal result
3.1.21.2 Mathematica [C] (verified)
3.1.21.3 Rubi [A] (warning: unable to verify)
3.1.21.4 Maple [A] (verified)
3.1.21.5 Fricas [B] (verification not implemented)
3.1.21.6 Sympy [F]
3.1.21.7 Maxima [A] (verification not implemented)
3.1.21.8 Giac [F]
3.1.21.9 Mupad [B] (verification not implemented)

3.1.21.1 Optimal result

Integrand size = 12, antiderivative size = 225 \[ \int \frac {1}{(c \cot (a+b x))^{2/3}} \, dx=-\frac {\arctan \left (\frac {\sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )}{b c^{2/3}}+\frac {\arctan \left (\sqrt {3}-\frac {2 \sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )}{2 b c^{2/3}}-\frac {\arctan \left (\sqrt {3}+\frac {2 \sqrt [3]{c \cot (a+b x)}}{\sqrt [3]{c}}\right )}{2 b c^{2/3}}+\frac {\sqrt {3} \log \left (c^{2/3}-\sqrt {3} \sqrt [3]{c} \sqrt [3]{c \cot (a+b x)}+(c \cot (a+b x))^{2/3}\right )}{4 b c^{2/3}}-\frac {\sqrt {3} \log \left (c^{2/3}+\sqrt {3} \sqrt [3]{c} \sqrt [3]{c \cot (a+b x)}+(c \cot (a+b x))^{2/3}\right )}{4 b c^{2/3}} \]

output
-arctan((c*cot(b*x+a))^(1/3)/c^(1/3))/b/c^(2/3)-1/2*arctan(2*(c*cot(b*x+a) 
)^(1/3)/c^(1/3)-3^(1/2))/b/c^(2/3)-1/2*arctan(2*(c*cot(b*x+a))^(1/3)/c^(1/ 
3)+3^(1/2))/b/c^(2/3)+1/4*ln(c^(2/3)+(c*cot(b*x+a))^(2/3)-c^(1/3)*(c*cot(b 
*x+a))^(1/3)*3^(1/2))*3^(1/2)/b/c^(2/3)-1/4*ln(c^(2/3)+(c*cot(b*x+a))^(2/3 
)+c^(1/3)*(c*cot(b*x+a))^(1/3)*3^(1/2))*3^(1/2)/b/c^(2/3)
 
3.1.21.2 Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 0.23 (sec) , antiderivative size = 189, normalized size of antiderivative = 0.84 \[ \int \frac {1}{(c \cot (a+b x))^{2/3}} \, dx=\frac {\sqrt [3]{c \cot (a+b x)} \left (-i \log \left (1-i \sqrt [6]{\cot ^2(a+b x)}\right )+i \log \left (1+i \sqrt [6]{\cot ^2(a+b x)}\right )+\sqrt [6]{-1} \left (-(-1)^{2/3} \log \left (1-\sqrt [6]{-1} \sqrt [6]{\cot ^2(a+b x)}\right )+(-1)^{2/3} \log \left (1+\sqrt [6]{-1} \sqrt [6]{\cot ^2(a+b x)}\right )-\log \left (1-(-1)^{5/6} \sqrt [6]{\cot ^2(a+b x)}\right )+\log \left (1+(-1)^{5/6} \sqrt [6]{\cot ^2(a+b x)}\right )\right )\right )}{2 b c \sqrt [6]{\cot ^2(a+b x)}} \]

input
Integrate[(c*Cot[a + b*x])^(-2/3),x]
 
output
((c*Cot[a + b*x])^(1/3)*((-I)*Log[1 - I*(Cot[a + b*x]^2)^(1/6)] + I*Log[1 
+ I*(Cot[a + b*x]^2)^(1/6)] + (-1)^(1/6)*(-((-1)^(2/3)*Log[1 - (-1)^(1/6)* 
(Cot[a + b*x]^2)^(1/6)]) + (-1)^(2/3)*Log[1 + (-1)^(1/6)*(Cot[a + b*x]^2)^ 
(1/6)] - Log[1 - (-1)^(5/6)*(Cot[a + b*x]^2)^(1/6)] + Log[1 + (-1)^(5/6)*( 
Cot[a + b*x]^2)^(1/6)])))/(2*b*c*(Cot[a + b*x]^2)^(1/6))
 
3.1.21.3 Rubi [A] (warning: unable to verify)

Time = 0.42 (sec) , antiderivative size = 196, normalized size of antiderivative = 0.87, number of steps used = 12, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.917, Rules used = {3042, 3957, 266, 753, 27, 216, 1142, 25, 1082, 217, 1103}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {1}{(c \cot (a+b x))^{2/3}} \, dx\)

\(\Big \downarrow \) 3042

\(\displaystyle \int \frac {1}{\left (-c \tan \left (a+b x+\frac {\pi }{2}\right )\right )^{2/3}}dx\)

\(\Big \downarrow \) 3957

\(\displaystyle -\frac {c \int \frac {1}{(c \cot (a+b x))^{2/3} \left (\cot ^2(a+b x) c^2+c^2\right )}d(c \cot (a+b x))}{b}\)

\(\Big \downarrow \) 266

\(\displaystyle -\frac {3 c \int \frac {1}{c^6 \cot ^6(a+b x)+c^2}d\sqrt [3]{c \cot (a+b x)}}{b}\)

\(\Big \downarrow \) 753

\(\displaystyle -\frac {3 c \left (\frac {\int \frac {1}{c^2 \cot ^2(a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{3 c^{4/3}}+\frac {\int \frac {2 \sqrt [3]{c}-\sqrt {3} \sqrt [3]{c \cot (a+b x)}}{2 \left (c^2 \cot ^2(a+b x)-\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}\right )}d\sqrt [3]{c \cot (a+b x)}}{3 c^{5/3}}+\frac {\int \frac {2 \sqrt [3]{c}+\sqrt {3} \sqrt [3]{c \cot (a+b x)}}{2 \left (c^2 \cot ^2(a+b x)+\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}\right )}d\sqrt [3]{c \cot (a+b x)}}{3 c^{5/3}}\right )}{b}\)

\(\Big \downarrow \) 27

\(\displaystyle -\frac {3 c \left (\frac {\int \frac {1}{c^2 \cot ^2(a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{3 c^{4/3}}+\frac {\int \frac {2 \sqrt [3]{c}-\sqrt {3} \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)-\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{6 c^{5/3}}+\frac {\int \frac {2 \sqrt [3]{c}+\sqrt {3} \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)+\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{6 c^{5/3}}\right )}{b}\)

\(\Big \downarrow \) 216

\(\displaystyle -\frac {3 c \left (\frac {\int \frac {2 \sqrt [3]{c}-\sqrt {3} \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)-\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{6 c^{5/3}}+\frac {\int \frac {2 \sqrt [3]{c}+\sqrt {3} \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)+\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{6 c^{5/3}}+\frac {\arctan \left (c^{2/3} \cot (a+b x)\right )}{3 c^{5/3}}\right )}{b}\)

\(\Big \downarrow \) 1142

\(\displaystyle -\frac {3 c \left (\frac {\frac {1}{2} \sqrt [3]{c} \int \frac {1}{c^2 \cot ^2(a+b x)-\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}-\frac {1}{2} \sqrt {3} \int -\frac {\sqrt {3} \sqrt [3]{c}-2 \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)-\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{6 c^{5/3}}+\frac {\frac {1}{2} \sqrt [3]{c} \int \frac {1}{c^2 \cot ^2(a+b x)+\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}+\frac {1}{2} \sqrt {3} \int \frac {\sqrt {3} \sqrt [3]{c}+2 \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)+\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{6 c^{5/3}}+\frac {\arctan \left (c^{2/3} \cot (a+b x)\right )}{3 c^{5/3}}\right )}{b}\)

\(\Big \downarrow \) 25

\(\displaystyle -\frac {3 c \left (\frac {\frac {1}{2} \sqrt [3]{c} \int \frac {1}{c^2 \cot ^2(a+b x)-\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}+\frac {1}{2} \sqrt {3} \int \frac {\sqrt {3} \sqrt [3]{c}-2 \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)-\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{6 c^{5/3}}+\frac {\frac {1}{2} \sqrt [3]{c} \int \frac {1}{c^2 \cot ^2(a+b x)+\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}+\frac {1}{2} \sqrt {3} \int \frac {\sqrt {3} \sqrt [3]{c}+2 \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)+\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{6 c^{5/3}}+\frac {\arctan \left (c^{2/3} \cot (a+b x)\right )}{3 c^{5/3}}\right )}{b}\)

\(\Big \downarrow \) 1082

\(\displaystyle -\frac {3 c \left (\frac {\frac {\int \frac {1}{-c^2 \cot ^2(a+b x)-\frac {1}{3}}d\left (1-\frac {2 c^{2/3} \cot (a+b x)}{\sqrt {3}}\right )}{\sqrt {3}}+\frac {1}{2} \sqrt {3} \int \frac {\sqrt {3} \sqrt [3]{c}-2 \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)-\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}}{6 c^{5/3}}+\frac {\frac {1}{2} \sqrt {3} \int \frac {\sqrt {3} \sqrt [3]{c}+2 \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)+\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}-\frac {\int \frac {1}{-c^2 \cot ^2(a+b x)-\frac {1}{3}}d\left (\frac {2 c^{2/3} \cot (a+b x)}{\sqrt {3}}+1\right )}{\sqrt {3}}}{6 c^{5/3}}+\frac {\arctan \left (c^{2/3} \cot (a+b x)\right )}{3 c^{5/3}}\right )}{b}\)

\(\Big \downarrow \) 217

\(\displaystyle -\frac {3 c \left (\frac {\frac {1}{2} \sqrt {3} \int \frac {\sqrt {3} \sqrt [3]{c}-2 \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)-\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}-\arctan \left (\sqrt {3} \left (1-\frac {2 c^{2/3} \cot (a+b x)}{\sqrt {3}}\right )\right )}{6 c^{5/3}}+\frac {\frac {1}{2} \sqrt {3} \int \frac {\sqrt {3} \sqrt [3]{c}+2 \sqrt [3]{c \cot (a+b x)}}{c^2 \cot ^2(a+b x)+\sqrt {3} c^{4/3} \cot (a+b x)+c^{2/3}}d\sqrt [3]{c \cot (a+b x)}+\arctan \left (\sqrt {3} \left (\frac {2 c^{2/3} \cot (a+b x)}{\sqrt {3}}+1\right )\right )}{6 c^{5/3}}+\frac {\arctan \left (c^{2/3} \cot (a+b x)\right )}{3 c^{5/3}}\right )}{b}\)

\(\Big \downarrow \) 1103

\(\displaystyle -\frac {3 c \left (\frac {\arctan \left (c^{2/3} \cot (a+b x)\right )}{3 c^{5/3}}+\frac {-\arctan \left (\sqrt {3} \left (1-\frac {2 c^{2/3} \cot (a+b x)}{\sqrt {3}}\right )\right )-\frac {1}{2} \sqrt {3} \log \left (-\sqrt {3} c^{4/3} \cot (a+b x)+c^2 \cot ^2(a+b x)+c^{2/3}\right )}{6 c^{5/3}}+\frac {\arctan \left (\sqrt {3} \left (\frac {2 c^{2/3} \cot (a+b x)}{\sqrt {3}}+1\right )\right )+\frac {1}{2} \sqrt {3} \log \left (\sqrt {3} c^{4/3} \cot (a+b x)+c^2 \cot ^2(a+b x)+c^{2/3}\right )}{6 c^{5/3}}\right )}{b}\)

input
Int[(c*Cot[a + b*x])^(-2/3),x]
 
output
(-3*c*(ArcTan[c^(2/3)*Cot[a + b*x]]/(3*c^(5/3)) + (-ArcTan[Sqrt[3]*(1 - (2 
*c^(2/3)*Cot[a + b*x])/Sqrt[3])] - (Sqrt[3]*Log[c^(2/3) - Sqrt[3]*c^(4/3)* 
Cot[a + b*x] + c^2*Cot[a + b*x]^2])/2)/(6*c^(5/3)) + (ArcTan[Sqrt[3]*(1 + 
(2*c^(2/3)*Cot[a + b*x])/Sqrt[3])] + (Sqrt[3]*Log[c^(2/3) + Sqrt[3]*c^(4/3 
)*Cot[a + b*x] + c^2*Cot[a + b*x]^2])/2)/(6*c^(5/3))))/b
 

3.1.21.3.1 Defintions of rubi rules used

rule 25
Int[-(Fx_), x_Symbol] :> Simp[Identity[-1]   Int[Fx, x], x]
 

rule 27
Int[(a_)*(Fx_), x_Symbol] :> Simp[a   Int[Fx, x], x] /; FreeQ[a, x] &&  !Ma 
tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
 

rule 216
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*A 
rcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a 
, 0] || GtQ[b, 0])
 

rule 217
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^( 
-1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] & 
& (LtQ[a, 0] || LtQ[b, 0])
 

rule 266
Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> With[{k = De 
nominator[m]}, Simp[k/c   Subst[Int[x^(k*(m + 1) - 1)*(a + b*(x^(2*k)/c^2)) 
^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && FractionQ[m] && I 
ntBinomialQ[a, b, c, 2, m, p, x]
 

rule 753
Int[((a_) + (b_.)*(x_)^(n_))^(-1), x_Symbol] :> Module[{r = Numerator[Rt[a/ 
b, n]], s = Denominator[Rt[a/b, n]], k, u, v}, Simp[u = Int[(r - s*Cos[(2*k 
 - 1)*(Pi/n)]*x)/(r^2 - 2*r*s*Cos[(2*k - 1)*(Pi/n)]*x + s^2*x^2), x] + Int[ 
(r + s*Cos[(2*k - 1)*(Pi/n)]*x)/(r^2 + 2*r*s*Cos[(2*k - 1)*(Pi/n)]*x + s^2* 
x^2), x]; 2*(r^2/(a*n))   Int[1/(r^2 + s^2*x^2), x] + 2*(r/(a*n))   Sum[u, 
{k, 1, (n - 2)/4}], x]] /; FreeQ[{a, b}, x] && IGtQ[(n - 2)/4, 0] && PosQ[a 
/b]
 

rule 1082
Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*S 
implify[a*(c/b^2)]}, Simp[-2/b   Subst[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b 
)], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /; Fre 
eQ[{a, b, c}, x]
 

rule 1103
Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> S 
imp[d*(Log[RemoveContent[a + b*x + c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, 
e}, x] && EqQ[2*c*d - b*e, 0]
 

rule 1142
Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> S 
imp[(2*c*d - b*e)/(2*c)   Int[1/(a + b*x + c*x^2), x], x] + Simp[e/(2*c) 
Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x]
 

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 3957
Int[((b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[b/d   Subst[Int 
[x^n/(b^2 + x^2), x], x, b*Tan[c + d*x]], x] /; FreeQ[{b, c, d, n}, x] && 
!IntegerQ[n]
 
3.1.21.4 Maple [A] (verified)

Time = 0.06 (sec) , antiderivative size = 203, normalized size of antiderivative = 0.90

method result size
derivativedivides \(-\frac {3 c \left (-\frac {\sqrt {3}\, \left (c^{2}\right )^{\frac {1}{6}} \ln \left (-\left (c \cot \left (b x +a \right )\right )^{\frac {2}{3}}+\sqrt {3}\, \left (c^{2}\right )^{\frac {1}{6}} \left (c \cot \left (b x +a \right )\right )^{\frac {1}{3}}-\left (c^{2}\right )^{\frac {1}{3}}\right )}{12 c^{2}}+\frac {\left (c^{2}\right )^{\frac {1}{6}} \arctan \left (\frac {2 \left (c \cot \left (b x +a \right )\right )^{\frac {1}{3}}}{\left (c^{2}\right )^{\frac {1}{6}}}-\sqrt {3}\right )}{6 c^{2}}+\frac {\left (c^{2}\right )^{\frac {1}{6}} \arctan \left (\frac {\left (c \cot \left (b x +a \right )\right )^{\frac {1}{3}}}{\left (c^{2}\right )^{\frac {1}{6}}}\right )}{3 c^{2}}+\frac {\sqrt {3}\, \left (c^{2}\right )^{\frac {1}{6}} \ln \left (\left (c \cot \left (b x +a \right )\right )^{\frac {2}{3}}+\sqrt {3}\, \left (c^{2}\right )^{\frac {1}{6}} \left (c \cot \left (b x +a \right )\right )^{\frac {1}{3}}+\left (c^{2}\right )^{\frac {1}{3}}\right )}{12 c^{2}}+\frac {\left (c^{2}\right )^{\frac {1}{6}} \arctan \left (\frac {2 \left (c \cot \left (b x +a \right )\right )^{\frac {1}{3}}}{\left (c^{2}\right )^{\frac {1}{6}}}+\sqrt {3}\right )}{6 c^{2}}\right )}{b}\) \(203\)
default \(-\frac {3 c \left (-\frac {\sqrt {3}\, \left (c^{2}\right )^{\frac {1}{6}} \ln \left (-\left (c \cot \left (b x +a \right )\right )^{\frac {2}{3}}+\sqrt {3}\, \left (c^{2}\right )^{\frac {1}{6}} \left (c \cot \left (b x +a \right )\right )^{\frac {1}{3}}-\left (c^{2}\right )^{\frac {1}{3}}\right )}{12 c^{2}}+\frac {\left (c^{2}\right )^{\frac {1}{6}} \arctan \left (\frac {2 \left (c \cot \left (b x +a \right )\right )^{\frac {1}{3}}}{\left (c^{2}\right )^{\frac {1}{6}}}-\sqrt {3}\right )}{6 c^{2}}+\frac {\left (c^{2}\right )^{\frac {1}{6}} \arctan \left (\frac {\left (c \cot \left (b x +a \right )\right )^{\frac {1}{3}}}{\left (c^{2}\right )^{\frac {1}{6}}}\right )}{3 c^{2}}+\frac {\sqrt {3}\, \left (c^{2}\right )^{\frac {1}{6}} \ln \left (\left (c \cot \left (b x +a \right )\right )^{\frac {2}{3}}+\sqrt {3}\, \left (c^{2}\right )^{\frac {1}{6}} \left (c \cot \left (b x +a \right )\right )^{\frac {1}{3}}+\left (c^{2}\right )^{\frac {1}{3}}\right )}{12 c^{2}}+\frac {\left (c^{2}\right )^{\frac {1}{6}} \arctan \left (\frac {2 \left (c \cot \left (b x +a \right )\right )^{\frac {1}{3}}}{\left (c^{2}\right )^{\frac {1}{6}}}+\sqrt {3}\right )}{6 c^{2}}\right )}{b}\) \(203\)

input
int(1/(c*cot(b*x+a))^(2/3),x,method=_RETURNVERBOSE)
 
output
-3/b*c*(-1/12/c^2*3^(1/2)*(c^2)^(1/6)*ln(-(c*cot(b*x+a))^(2/3)+3^(1/2)*(c^ 
2)^(1/6)*(c*cot(b*x+a))^(1/3)-(c^2)^(1/3))+1/6/c^2*(c^2)^(1/6)*arctan(2*(c 
*cot(b*x+a))^(1/3)/(c^2)^(1/6)-3^(1/2))+1/3/c^2*(c^2)^(1/6)*arctan((c*cot( 
b*x+a))^(1/3)/(c^2)^(1/6))+1/12/c^2*3^(1/2)*(c^2)^(1/6)*ln((c*cot(b*x+a))^ 
(2/3)+3^(1/2)*(c^2)^(1/6)*(c*cot(b*x+a))^(1/3)+(c^2)^(1/3))+1/6/c^2*(c^2)^ 
(1/6)*arctan(2*(c*cot(b*x+a))^(1/3)/(c^2)^(1/6)+3^(1/2)))
 
3.1.21.5 Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 384 vs. \(2 (169) = 338\).

Time = 0.26 (sec) , antiderivative size = 384, normalized size of antiderivative = 1.71 \[ \int \frac {1}{(c \cot (a+b x))^{2/3}} \, dx=-\frac {1}{4} \, {\left (\sqrt {-3} + 1\right )} \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} \log \left (\frac {1}{2} \, {\left (\sqrt {-3} b c + b c\right )} \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} + \left (\frac {c \cos \left (2 \, b x + 2 \, a\right ) + c}{\sin \left (2 \, b x + 2 \, a\right )}\right )^{\frac {1}{3}}\right ) + \frac {1}{4} \, {\left (\sqrt {-3} + 1\right )} \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} \log \left (-\frac {1}{2} \, {\left (\sqrt {-3} b c + b c\right )} \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} + \left (\frac {c \cos \left (2 \, b x + 2 \, a\right ) + c}{\sin \left (2 \, b x + 2 \, a\right )}\right )^{\frac {1}{3}}\right ) - \frac {1}{4} \, {\left (\sqrt {-3} - 1\right )} \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} \log \left (\frac {1}{2} \, {\left (\sqrt {-3} b c - b c\right )} \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} + \left (\frac {c \cos \left (2 \, b x + 2 \, a\right ) + c}{\sin \left (2 \, b x + 2 \, a\right )}\right )^{\frac {1}{3}}\right ) + \frac {1}{4} \, {\left (\sqrt {-3} - 1\right )} \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} \log \left (-\frac {1}{2} \, {\left (\sqrt {-3} b c - b c\right )} \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} + \left (\frac {c \cos \left (2 \, b x + 2 \, a\right ) + c}{\sin \left (2 \, b x + 2 \, a\right )}\right )^{\frac {1}{3}}\right ) - \frac {1}{2} \, \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} \log \left (b c \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} + \left (\frac {c \cos \left (2 \, b x + 2 \, a\right ) + c}{\sin \left (2 \, b x + 2 \, a\right )}\right )^{\frac {1}{3}}\right ) + \frac {1}{2} \, \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} \log \left (-b c \left (-\frac {1}{b^{6} c^{4}}\right )^{\frac {1}{6}} + \left (\frac {c \cos \left (2 \, b x + 2 \, a\right ) + c}{\sin \left (2 \, b x + 2 \, a\right )}\right )^{\frac {1}{3}}\right ) \]

input
integrate(1/(c*cot(b*x+a))^(2/3),x, algorithm="fricas")
 
output
-1/4*(sqrt(-3) + 1)*(-1/(b^6*c^4))^(1/6)*log(1/2*(sqrt(-3)*b*c + b*c)*(-1/ 
(b^6*c^4))^(1/6) + ((c*cos(2*b*x + 2*a) + c)/sin(2*b*x + 2*a))^(1/3)) + 1/ 
4*(sqrt(-3) + 1)*(-1/(b^6*c^4))^(1/6)*log(-1/2*(sqrt(-3)*b*c + b*c)*(-1/(b 
^6*c^4))^(1/6) + ((c*cos(2*b*x + 2*a) + c)/sin(2*b*x + 2*a))^(1/3)) - 1/4* 
(sqrt(-3) - 1)*(-1/(b^6*c^4))^(1/6)*log(1/2*(sqrt(-3)*b*c - b*c)*(-1/(b^6* 
c^4))^(1/6) + ((c*cos(2*b*x + 2*a) + c)/sin(2*b*x + 2*a))^(1/3)) + 1/4*(sq 
rt(-3) - 1)*(-1/(b^6*c^4))^(1/6)*log(-1/2*(sqrt(-3)*b*c - b*c)*(-1/(b^6*c^ 
4))^(1/6) + ((c*cos(2*b*x + 2*a) + c)/sin(2*b*x + 2*a))^(1/3)) - 1/2*(-1/( 
b^6*c^4))^(1/6)*log(b*c*(-1/(b^6*c^4))^(1/6) + ((c*cos(2*b*x + 2*a) + c)/s 
in(2*b*x + 2*a))^(1/3)) + 1/2*(-1/(b^6*c^4))^(1/6)*log(-b*c*(-1/(b^6*c^4)) 
^(1/6) + ((c*cos(2*b*x + 2*a) + c)/sin(2*b*x + 2*a))^(1/3))
 
3.1.21.6 Sympy [F]

\[ \int \frac {1}{(c \cot (a+b x))^{2/3}} \, dx=\int \frac {1}{\left (c \cot {\left (a + b x \right )}\right )^{\frac {2}{3}}}\, dx \]

input
integrate(1/(c*cot(b*x+a))**(2/3),x)
 
output
Integral((c*cot(a + b*x))**(-2/3), x)
 
3.1.21.7 Maxima [A] (verification not implemented)

Time = 0.34 (sec) , antiderivative size = 182, normalized size of antiderivative = 0.81 \[ \int \frac {1}{(c \cot (a+b x))^{2/3}} \, dx=-\frac {c {\left (\frac {\sqrt {3} \log \left (\sqrt {3} c^{\frac {1}{3}} \left (\frac {c}{\tan \left (b x + a\right )}\right )^{\frac {1}{3}} + c^{\frac {2}{3}} + \left (\frac {c}{\tan \left (b x + a\right )}\right )^{\frac {2}{3}}\right )}{c^{\frac {5}{3}}} - \frac {\sqrt {3} \log \left (-\sqrt {3} c^{\frac {1}{3}} \left (\frac {c}{\tan \left (b x + a\right )}\right )^{\frac {1}{3}} + c^{\frac {2}{3}} + \left (\frac {c}{\tan \left (b x + a\right )}\right )^{\frac {2}{3}}\right )}{c^{\frac {5}{3}}} + \frac {2 \, \arctan \left (\frac {\sqrt {3} c^{\frac {1}{3}} + 2 \, \left (\frac {c}{\tan \left (b x + a\right )}\right )^{\frac {1}{3}}}{c^{\frac {1}{3}}}\right )}{c^{\frac {5}{3}}} + \frac {2 \, \arctan \left (-\frac {\sqrt {3} c^{\frac {1}{3}} - 2 \, \left (\frac {c}{\tan \left (b x + a\right )}\right )^{\frac {1}{3}}}{c^{\frac {1}{3}}}\right )}{c^{\frac {5}{3}}} + \frac {4 \, \arctan \left (\frac {\left (\frac {c}{\tan \left (b x + a\right )}\right )^{\frac {1}{3}}}{c^{\frac {1}{3}}}\right )}{c^{\frac {5}{3}}}\right )}}{4 \, b} \]

input
integrate(1/(c*cot(b*x+a))^(2/3),x, algorithm="maxima")
 
output
-1/4*c*(sqrt(3)*log(sqrt(3)*c^(1/3)*(c/tan(b*x + a))^(1/3) + c^(2/3) + (c/ 
tan(b*x + a))^(2/3))/c^(5/3) - sqrt(3)*log(-sqrt(3)*c^(1/3)*(c/tan(b*x + a 
))^(1/3) + c^(2/3) + (c/tan(b*x + a))^(2/3))/c^(5/3) + 2*arctan((sqrt(3)*c 
^(1/3) + 2*(c/tan(b*x + a))^(1/3))/c^(1/3))/c^(5/3) + 2*arctan(-(sqrt(3)*c 
^(1/3) - 2*(c/tan(b*x + a))^(1/3))/c^(1/3))/c^(5/3) + 4*arctan((c/tan(b*x 
+ a))^(1/3)/c^(1/3))/c^(5/3))/b
 
3.1.21.8 Giac [F]

\[ \int \frac {1}{(c \cot (a+b x))^{2/3}} \, dx=\int { \frac {1}{\left (c \cot \left (b x + a\right )\right )^{\frac {2}{3}}} \,d x } \]

input
integrate(1/(c*cot(b*x+a))^(2/3),x, algorithm="giac")
 
output
integrate((c*cot(b*x + a))^(-2/3), x)
 
3.1.21.9 Mupad [B] (verification not implemented)

Time = 12.44 (sec) , antiderivative size = 231, normalized size of antiderivative = 1.03 \[ \int \frac {1}{(c \cot (a+b x))^{2/3}} \, dx=-\frac {{\left (-1\right )}^{1/6}\,\mathrm {atan}\left (\frac {{\left (-1\right )}^{5/6}\,{\left (c\,\mathrm {cot}\left (a+b\,x\right )\right )}^{1/3}\,1{}\mathrm {i}}{c^{1/3}}\right )\,1{}\mathrm {i}}{b\,c^{2/3}}-\frac {{\left (-1\right )}^{1/6}\,\ln \left (2\,{\left (c\,\mathrm {cot}\left (a+b\,x\right )\right )}^{1/3}+{\left (-1\right )}^{1/6}\,c^{1/3}+{\left (-1\right )}^{2/3}\,\sqrt {3}\,c^{1/3}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{2\,b\,c^{2/3}}-\frac {{\left (-1\right )}^{1/6}\,\ln \left (2\,{\left (c\,\mathrm {cot}\left (a+b\,x\right )\right )}^{1/3}-{\left (-1\right )}^{1/6}\,c^{1/3}+{\left (-1\right )}^{2/3}\,\sqrt {3}\,c^{1/3}\right )\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{2\,b\,c^{2/3}}+\frac {{\left (-1\right )}^{1/6}\,\ln \left ({\left (-1\right )}^{1/6}\,c^{1/3}-2\,{\left (c\,\mathrm {cot}\left (a+b\,x\right )\right )}^{1/3}+{\left (-1\right )}^{2/3}\,\sqrt {3}\,c^{1/3}\right )\,\left (\frac {1}{4}+\frac {\sqrt {3}\,1{}\mathrm {i}}{4}\right )}{b\,c^{2/3}}+\frac {{\left (-1\right )}^{1/6}\,\ln \left (2\,{\left (c\,\mathrm {cot}\left (a+b\,x\right )\right )}^{1/3}+{\left (-1\right )}^{1/6}\,c^{1/3}-{\left (-1\right )}^{2/3}\,\sqrt {3}\,c^{1/3}\right )\,\left (-\frac {1}{4}+\frac {\sqrt {3}\,1{}\mathrm {i}}{4}\right )}{b\,c^{2/3}} \]

input
int(1/(c*cot(a + b*x))^(2/3),x)
 
output
((-1)^(1/6)*log((-1)^(1/6)*c^(1/3) - 2*(c*cot(a + b*x))^(1/3) + (-1)^(2/3) 
*3^(1/2)*c^(1/3))*((3^(1/2)*1i)/4 + 1/4))/(b*c^(2/3)) - ((-1)^(1/6)*log(2* 
(c*cot(a + b*x))^(1/3) + (-1)^(1/6)*c^(1/3) + (-1)^(2/3)*3^(1/2)*c^(1/3))* 
((3^(1/2)*1i)/2 + 1/2))/(2*b*c^(2/3)) - ((-1)^(1/6)*log(2*(c*cot(a + b*x)) 
^(1/3) - (-1)^(1/6)*c^(1/3) + (-1)^(2/3)*3^(1/2)*c^(1/3))*((3^(1/2)*1i)/2 
- 1/2))/(2*b*c^(2/3)) - ((-1)^(1/6)*atan(((-1)^(5/6)*(c*cot(a + b*x))^(1/3 
)*1i)/c^(1/3))*1i)/(b*c^(2/3)) + ((-1)^(1/6)*log(2*(c*cot(a + b*x))^(1/3) 
+ (-1)^(1/6)*c^(1/3) - (-1)^(2/3)*3^(1/2)*c^(1/3))*((3^(1/2)*1i)/4 - 1/4)) 
/(b*c^(2/3))